﻿namespace CCU.Update
{
    public class PackageInfo
    {
        public string id { set; get; }
        public string version { set; get; }
        public string description { set; get; }
        public string authors { set; get; }
        public string size { set; get; }
        public string md5 { set; get; }
        public string publishTime { get; set; }
    }

    public class DownloadPackageInfo : PackageInfo
    {
        public bool installed { get; set; }
        public int state { get; set; }
        public int index { get; set; }
        public string savePath { get; set; }
        public string fileUrl { get; set; }
    }
}
